package com.huang825172.sbog.Tabs.SoundAndExplore.VideoPage.Action;

import com.huang825172.sbog.BaseFlux.Dispatcher;

public class ActionCreator {
    public void createGetVideoAction(int page){
        Dispatcher.getSingleton().dispatch(new getVideoList(page));
    }

    public void createGetVideoInfoAction(int id){
        Dispatcher.getSingleton().dispatch(new getVideoInfo(id));
    }

    public void createOpenShopAction(){
        Dispatcher.getSingleton().dispatch(new OpenShop());
    }

    public void createLikeAction(int id) {
        Dispatcher.getSingleton().dispatch(new likeVideo(id));
    }
}
